package com.ft.oa.service.clueprojectService;

import com.ft.oa.domain.clueproject.ClueProject;
import com.ft.oa.domain.clueproject.ThreadContact;
import com.ft.oa.domain.dto.ApiResult;

import java.util.HashMap;
import java.util.List;

public interface IclueprojectService {
    /**
     * huoqu 获取项目线索主表
     * @return threadId 项目线索id
     */
    ThreadContact getprojectthread(Long threadId);

    /**
     * 编辑项目线索
     * @param clueProject
     * @return
     */
    int updateprojectthread(ClueProject clueProject);
    /**
     * 新增项目线索
     * @param
     * @return
     */
    ApiResult addprojectthread(ThreadContact threadContact);

    int updateclue(ThreadContact threadContact);

    int dellteclue(Long threadId);

    HashMap<String, Object> vallthread(String clientname, String importantLevel, String xsstatus, int page, int size);

    List getclueAll();

}
